<%@ page contentType="text/html;charset=utf-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title></title>
</head>
<body>
<div class="pageContent" style="padding-top: 1px;">
    <div class="panelBar">
        <ul class="toolBar" style="float: left;display: inline-block;">
            <li><a class="add" href="<c:url value='/security/import'/>" target="dialog" width="520" height="240"
                   title="导入保安员考试成绩" ><span>导入保安员考试成绩</span></a></li>
        </ul>
    </div>
  <table class="table" width="100%" layoutH="110">
    <thead>
    <tr>
      <th width="20" align="center">序号</th>
      <th width="80">准考证号</th>
      <th width="80">身份证号</th>
      <th width="150">姓名</th>
      <th width="150">单位</th>
      <th width="80">成绩</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach var="security" items="${pager.list}" varStatus="vs">
      <tr>
          <td>${vs.count+(pager.pageNum-1)*pager.numPerPage}</td>
          <td>${security.zkzh}</td>
          <td>${security.sfzh}</td>
          <td>${security.xm}</td>
          <td>${security.dw}</td>
          <td>${security.cj}</td>
      </tr>
    </c:forEach>
    </tbody>
  </table>
  <div class="panelBar">
    <div class="pages">
      <span>显示&nbsp;</span> <select id="cob_ps" class="combox"
                                    name="numPerPage"
                                    onchange="navTabPageBreak({numPerPage:this.value})">
      <option value="20">20</option>
      <option value="50">50</option>
      <option value="100">100</option>
      <option value="200">200</option>
    </select> <span>条，共${pager.total}条</span>
    </div>
    <div class="pagination" targetType="navTab"
         totalCount="${pager.total}" numPerPage="${pager.numPerPage}"
         pageNumShown="10" currentPage="${pager.pageNum}"></div>
  </div>
  <form id="pagerForm" method="post" action="<c:url value='/security/index'/>">
    <input type="hidden" name="pageNum" value="${pager.pageNum}"/>
    <input type="hidden" name="handler" value="${query.handler}"/>
    <input type="hidden" name="numPerPage" value="${pager.numPerPage}"/>
    <input type="hidden" name="orderField" value="${query.orderField}"/>
    <input type="hidden" name="orderDirection" value="${query.orderDirection}"/>
    <input type="hidden" name="name" value="${query.keywords}"/>
  </form>
</div>

</body>
</html>
